// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_b.p_a;

import com.nnee.p_fk.p_a.cls_k;
import com.nnee.p_fk.p_a.cls_m;
import com.nnee.p_fk.p_b.cls_a;
import com.nnee.p_i.cls_c;
import com.nnee.p_pr.p_atom.cls_p;
import com.nnee.p_pr.p_atom.cls_u;
import com.nnee.p_pr.p_prot.cls_b;

import com.nnee.p_pr.p_prot.cls_d;
import java.io.InputStream;
import java.util.Vector;

// Referenced classes of package com.nnee.b.a:
//            s

public abstract class cls_ag extends cls_a
    implements com.nnee.p_pr.p_prot.cls_b
{

    protected cls_ag(int i)
    {
        super(i);
    }

    public com.nnee.p_fk.p_b.cls_b a(Object obj, int i, int j)
    {
        cls_s s1 = new cls_s(this, obj, i, j);
        s1.a((com.nnee.p_pr.p_prot.cls_b)this);
        return s1;
    }

    public com.nnee.p_fk.p_b.cls_b a(Vector vector, Object obj, int i, int j)
    {
        cls_s s1 = new cls_s(vector, obj, i, j);
        s1.a((com.nnee.p_pr.p_prot.cls_b)this);
        return s1;
    }

    public void a(int i, Exception exception)
    {
        d(i, exception.toString());
    }

    protected void a(int i, Object obj)
    {
        if(i == 0 && obj == null)
            super.c(i, new cls_d());
        else
            super.c(i, obj);
    }

    public void a(com.nnee.p_i.cls_c c1)
    {
        bp = c1;
    }

    public void a(cls_p p1)
    {
    }

    public void a(cls_u u1)
    {
    }

    public void a(cls_d d1)
    {
    }

    protected void a(Object obj)
    {
        if(obj != null && (obj instanceof cls_m))
        {
            cls_m m1 = (cls_m)obj;
            m1.c(bo);
            m1.a(bp);
            m1.b(j());
            m1.f(l());
            bq = m1;
        }
        super.a(obj);
    }

    protected void b(int i, Object obj)
    {
        e(i, obj);
        switch(i)
        {
       
        case -1:
        	 d(10003, null);
        	break;
        case 400:
        	 if(obj == null)
             {
                 d(10002, null);
                 
             }
             else if(obj instanceof cls_p)
             {
                 cls_p p1 = (cls_p)obj;
                 d(p1.d(), p1.f());
                  
             }
             else
             {
             d(i, null);
             }
        	break;
        case 403:
        	a(com.nnee.p_fk.p_a.cls_k.class);
            d(20403, null);
        	break;
        
        case 202:
        case 203:
        case 205:
        case 206:
        case 300:
        case 301:
        case 302:        
        case 303:
        case 401:
        case 402:
        case 404:
        case 405:
        case 406:
        case 500:
        case 501:
        case 502:
        case 503:
        	d(10002, null);
        	break;
        	
        default:
        	if(obj == null || !(obj instanceof cls_p)) {
        		d(i, null);
                
        	} else {
        		cls_p p2 = (cls_p)obj;
                d(p2.d(), p2.f());
        	}
        	break;
        }
       
    }

    public void b(cls_d d1)
    {
    }

    public void d(int i)
    {
        bo = i;
    }

    public void e()
    {
        super.e();
        if(bq != null)
            bq.r();
        h();
    }

    protected void e(int i, Object obj)
    {
    	String s1 = (String)obj;
        if(bq == null || (i < 500 || i >= 600) && i != 404) {
        	super.a(com.nnee.p_pr.p_prot.cls_c.a(i, bq.b(), s1), null);
        	
        } else {
        	if(obj == null) {s1 = null;} else {
        		if(!(obj instanceof String)) {
        			if(obj instanceof InputStream)
        	        {
        	            s1 = new String(com.nnee.p_pr.p_a.cls_e.b((InputStream)obj));
        	            
        	        }
        			else
        			{
        				s1 = null;
        			}
        				
        		} else {}
        	}
        }

    }

    protected int u()
    {
        return bo;
    }

    protected com.nnee.p_i.cls_c v()
    {
        return bp;
    }

    public static final int A = -1;
    public static final int B = -2;
    public static final int C = 1;
    public static final int D = 2;
    public static final int E = 3;
    public static final int F = 4;
    public static final int G = 5;
    public static final int H = 6;
    public static final int I = 7;
    public static final int J = 8;
    public static final int K = 9;
    public static final int L = 10;
    public static final int M = 11;
    public static final int N = 100;
    public static final int O = 300;
    public static final int P = 301;
    public static final int Q = 302;
    public static final int R = 303;
    public static final int S = 304;
    public static final int T = 305;
    public static final int U = 306;
    public static final int V = 307;
    public static final int W = 308;
    public static final int X = 309;
    public static final int Y = 310;
    public static final int Z = 311;
    public static final int aA = 808;
    public static final int aB = 809;
    public static final int aC = 810;
    public static final int aD = 900;
    public static final int aE = 901;
    public static final int aF = 902;
    public static final int aG = 903;
    public static final int aH = 1000;
    public static final int aI = 1001;
    public static final int aJ = 1002;
    public static final int aK = 1100;
    public static final int aL = 1101;
    public static final int aM = 1102;
    public static final int aN = 1103;
    public static final int aO = 1104;
    public static final int aP = 1105;
    public static final int aQ = 1106;
    public static final int aR = 1107;
    public static final int aS = 1108;
    public static final int aT = 1109;
    public static final int aU = 1300;
    public static final int aV = 1301;
    public static final int aW = 1400;
    public static final int aX = 1401;
    public static final int aY = 1500;
    public static final int aZ = 1501;
    public static final int aa = 312;
    public static final int ab = 313;
    public static final int ac = 314;
    public static final int ad = 315;
    public static final int ae = 316;
    public static final int af = 400;
    public static final int ag = 401;
    public static final int ah = 402;
    public static final int ai = 403;
    public static final int aj = 500;
    public static final int ak = 501;
    public static final int al = 502;
    public static final int am = 503;
    public static final int an = 504;
    public static final int ao = 505;
    public static final int ap = 600;
    public static final int aq = 601;
    public static final int ar = 602;
    public static final int as = 800;
    public static final int at = 801;
    public static final int au = 802;
    public static final int av = 803;
    public static final int aw = 804;
    public static final int ax = 805;
    public static final int ay = 806;
    public static final int az = 807;
    public static final int ba = 1502;
    public static final int bb = 2100;
    public static final int bc = 2200;
    public static final int bd = 400;
    public static final int be = 401;
    public static final int bf = 402;
    public static final int bg = 403;
    public static final int bh = 404;
    public static final int bi = 405;
    public static final int bj = 20403;
    public static final int bk = 20001;
    public static final int bl = 20002;
    public static final int bm = 20003;
    public static final int bn = 20004;
    public static final int z=0;
    int bo;
    com.nnee.p_i.cls_c bp;
    cls_m bq;
}
